package com.jzt.gateway;

/**
 * 作者：lizw <br/>
 * 创建时间：2020/06/22 12:03 <br/>
 */
public class GlobalConstant {
    /**
     * ServerWebExchange request body字符串缓存
     */
    public static final String CACHED_REQUEST_BODY_STR_ATTR = "cachedRequestStrBody";

    /**
     * ServerWebExchange request 注册 Account
     */
    public static final String CACHED_REQUEST_REGISTER_ACCOUNT_ATTR = "cachedRequestRegisterAccount";

    /**
     * ServerWebExchange 鉴权逻辑执行成功标识
     */
    public static final String AUTHENTICATION_EXEC_ATTR = "authenticationExecSuccess";

    /**
     * 网关授权 token 名称
     */
    public static final String GATEWAY_AUTH_TOKEN_NAME = "gw-token";

    /**
     * 账号ID
     */
    public static final String GATEWAY_USER_AGENT_ID_NAME = "user-agent-id";

    /**
     * 用户统一ID
     */
    public static final String GATEWAY_ONE_ID_NAME = "one-id";
}
